/*
 * Créé le 10 avr. 2012
 */
package flst.ipiweb.struts.action.accueil;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

/**
 * <p>Action d'initialisation de l'écran de connection.</p>
 *
 * @author T495592
 * @version 1.0
 */
public class InitAction extends Action {

    /**
     * Méthode d'execution de l'action.
     *
     * @see salto.fwk.mvc.action.GenericAction#process(
     * org.apache.struts.action.ActionMapping,
     * javax.servlet.http.HttpServletRequest,
     * javax.servlet.http.HttpServletResponse,
     * org.apache.struts.action.ActionForm)
     */
    protected ActionForward process(
        ActionMapping aMapping,
        HttpServletRequest aRequest,
        HttpServletResponse aResponse,
        ActionForm aForm)
        throws Exception {

        // Définition variable de retour
        ActionForward vForward = null;

        vForward = aMapping.findForward("ok");

        return vForward;
    }

}

